/********************************************************************************
 * Copyright (c)2016-2020, ShenZhen WanJiaAn Technology CO.,LTD.
 * All Rights Reserved.
 *
 * File Name     : DevSd.h
 * Author        : joki.zhu
 * Date          : 2019-10-16
 *
 * Record        :
 * 1.Date        : 2019-10-16
 *   Author      : joki.zhu
 *   Modification: Created file
 ********************************************************************************/

#ifndef __DEVSD_H__
#define __DEVSD_H__


#ifdef __cplusplus
#if __cplusplus
extern "C"{
#endif
#endif /* __cplusplus */

#define SDCARD_DEVICE           "/dev/mmcblk0p0"  
#define SDCARD_MOUNT_PATH       "/sdcard"

int SdInit();
int SdMount();
int SdCheckIsExistent(void);
int SdCheckIsMount(char *deviceName, char *mountPath);
int SdUmount();
int SdFormat();
int SdDeinit();

#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* __cplusplus */


#endif /* __DEVSD_H__ */
